<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: xwj32
  Date: 2023-05-09
  Time: 23:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <jsp:include page="/include/headtag.jsp"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js"></script>
    <title>Document</title>
    <style>
        body{
            background-image: url("/images/background-img/leaves.png");
        }

        #container{
            border: 1px solid black;
        }
    </style>
</head>
<body>

<form action="http://localhost:8080/Hospital_line_call_system_war/CustomerMangerServlet">
    <input type="hidden" name="action" value="add" class="d-none">
    <div class="container mt-3" id="container">
        <h2><img src="<c:url value="/images/img/HTSCIT_添加用户.png"/>" alt="">
            添加用户</h2>
        <table class="table table-striped">
            <thead>
            <tr>
                <th>姓名</th>
                <th>电话号码</th>
                <th>密码</th>
                <th>操作</th>
            </tr>
            </thead>
            <tr>
                <td><div class="mb-3 mt-3">
                    <input type="text" class="form-control"  id="name" placeholder="请输入姓名" name="username">
                </div></td>
                <td><div class="mb-3 mt-3">
                    <input type="text" class="form-control"  id="phonenumber" placeholder="请输入电话号码" name="phonenumber">
                </div></td>
                <td><div class="mb-3 mt-3">
                    <input type="password" class="form-control" id="password" placeholder="请输入密码" name="password">
                </div></td>
                <td><button type="submit" class="btn btn-success" style="margin-top: 17px">确认添加</button></td>
            </tr>
        </table>
    </div>
</form>
</body>
</html>
